package cn.iune.erp.inventory;


import java.math.BigDecimal;
import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface IStorageItemBatchDao {
	
	public void insert(StorageItemBatch obj);
	
	public void delete(String fID);
	
	public StorageItemBatch update(StorageItemBatch obj);

	public List<StorageItemBatch> getAll();
	
	public StorageItemBatch getByID(String fID);
	
	JSONObject query(JSONObject data) throws SQLException ;

	List<StorageItemBatch> queryList(JSONObject data) throws Throwable;

	BigDecimal getCostingAmount(List<Object> params) throws Throwable;

	BigDecimal getQuantityL(List<Object> params);

	List<StorageItemBatch> getByItemID(String itemID, String enterpriseNo);

	List<StorageItemBatch> getByStorageID(String storageID, String enterpriseNo);

	StorageItemBatch getByNo(String storageID, String itemID, String batchNo, String enterpriseNo);

	JSONObject create(JSONObject data);

	List<StorageItemBatch> getList(String storehouseID, String itemID, String enterpriseNo);



}
